package com.piesat.quake.business.system.api;

import com.piesat.quake.business.system.service.SysRoleService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;


/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2022-04-22
 */
@Api(tags = "系统：角色管理")
@RequestMapping("/sys/role")
@RestController
@RequiredArgsConstructor
@PreAuthorize("@el.check('admin')")
public class SysRoleController {

    private final SysRoleService roleService;
    private static final String ENTITY_NAME = "role";

}

